package com.sixi.GeoTransfer;

public class Constants {

	public static final String SOURCE_FILE_PATH = "./src/main/resources/china_province_info.tb";
	
	public static final String CHINA_PROVINCE_FILE_PATH = "china_province_info.tb";
	
	public static final String CHINA_CITY_FILE_PATH = "china_city_info.tb";
	
	public static final String CHINA_BLOCK_FILE_PATH = "china_block_info.tb";
	
	public static final int DISTRICT_INFO_COL_NUM = 9;
	
	public static final int AREA_INFO_COL_NUM = 10;
	
	public static final Double PRECISION = 1e-10;//计算射线交点时的容差，精确度
	
	public static final String LOCATION_LEVEL_PROVINCE = "province";
	
	public static final String LOCATION_LEVEL_CITY = "city";
	
	public static final String LOCATION_LEVEL_AREA = "area";
	
	public static final int AREA_LEVEL_PROVINCE = 1;
	
	public static final int AREA_LEVEL_CITY = 2;
	
	public static final int AREA_LEVEL_BLOCK = 3;
	
	//###############get cityInfos from province by capital city area code.
	
	public static final String CHINA_PROVINCE_ALL = "000";
	
	public static final String CHINA_PROVINCE_BEIJING = "010";
	
	public static final String CHINA_PROVINCE_TIANJIN = "022";
	
	public static final String CHINA_PROVINCE_SHANGHAI = "021";
	
	public static final String CHINA_PROVINCE_CHONGQING = "023";
	
	public static final String CHINA_PROVINCE_HEBEI = "0311";
	
	public static final String CHINA_PROVINCE_SHAN1XI = "0351";
	
	public static final String CHINA_PROVINCE_NEIMENGGU = "0471";
	
	public static final String CHINA_PROVINCE_LIAONING = "024";
	
	public static final String CHINA_PROVINCE_HEILONGJIANG = "0451";
	
	public static final String CHINA_PROVINCE_QINGHAI = "0971";
	
	public static final String CHINA_PROVINCE_SICHUAN = "028";
	
	public static final String CHINA_PROVINCE_GUIZHOU = "0851";
	
	public static final String CHINA_PROVINCE_YUNNAN = "0871";
	
	public static final String CHINA_PROVINCE_SHAN3XI = "029";
	
	public static final String CHINA_PROVINCE_GANSU = "0931";
	
	public static final String CHINA_PROVINCE_NINGXIA = "0951";
	
	public static final String CHINA_PROVINCE_XINJIANG = "0991";
	
	public static final String CHINA_PROVINCE_XIZANG = "0891";
	
	public static final String CHINA_PROVINCE_HAINAN = "0898";
	
	public static final String CHINA_PROVINCE_JIANGSU = "025";
	
	public static final String CHINA_PROVINCE_ZHEJIANG = "0571";
	
	public static final String CHINA_PROVINCE_ANHUI = "0551";
	
	public static final String CHINA_PROVINCE_FUJIAN = "0591";
	
	public static final String CHINA_PROVINCE_JIANGXI = "0791";
	
	public static final String CHINA_PROVINCE_SHANDONG = "0531";
	
	public static final String CHINA_PROVINCE_HENAN = "0371";
	
	public static final String CHINA_PROVINCE_HUBEI = "027";
	
	public static final String CHINA_PROVINCE_HUNAN = "0731";
	
	public static final String CHINA_PROVINCE_GUANGDONG = "020";
	
	public static final String CHINA_PROVINCE_GUANGXI = "0771";
	
	public static final String CHINA_PROVINCE_XIANGGANG = "00852";
	
	public static final String CHINA_PROVINCE_AOMEN = "00853";
	
	public static final String CHINA_PROVINCE_TAIWAN = "00886";

	
	
	
	
}
